﻿@{
	Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
}
@{ Html.RenderPartial("_Flash.Mobile"); }
<div class="view">
    <h2>Sign In / Register</h2>

    <p>You can register or sign in using your existing OpenID provider. If this is your first time, we'll create a new account for you.</p>

	@using (Html.BeginForm("SignInWithProvider", "Auth"))
    {
        <ul>
            <li>
                <label for="providerUrl">Your own OpenID URL provider</label>
                @Html.TextBox("providerUrl", null, new { maxlength = 200, placeholder="http://openidprovider.org", tabindex="1",required="required" })
            </li>
            <li>
                @Html.CheckBox("rememberMe", new { @checked = true })Remember me?
            </li>
        </ul>
        <ol class="button-group">
            <li><button type="submit"><span>Sign in or register</span></button></li>
        </ol>
    }
</div>